package com.mzhmxh.mapper;


import com.mzhmxh.pojo.SmbmsRole;

import java.util.List;

public interface SmbmsRolemapper {
    boolean deleteByPrimaryKey(Long id);

    int insert(SmbmsRole record);

    int insertSelective(SmbmsRole record);

    SmbmsRole selectByPrimaryKey(Long id);
    //
    List<SmbmsRole> selectAll();

    int updateByPrimaryKeySelective(SmbmsRole record);

    int updateByPrimaryKey(SmbmsRole record);

    boolean add(SmbmsRole role);

    int roleCodeIsExist(String roleCode);

    boolean modify(SmbmsRole role);


}